﻿using System;
using System.Configuration;

namespace SBPweb.Forge.Logger.Configuration
{

    public class WriterElement : ConfigurationElement
    {

        [ConfigurationProperty("type", IsRequired = true)]
        public string Type
        {
            get
            {
                return (string)this["type"];
            }
            set
            {
                this["type"] = value;
            }
        }

        [ConfigurationProperty("settings")]
        public KeyValueConfigurationCollection Settings
        {
            get
            {
                return (KeyValueConfigurationCollection)this["settings"];
            }
            set
            {
                this["settings"] = value;
            }
        }


    }

}